package com.itheima.Demo;

import org.junit.*;

public class Demojunit测试001 {

    @Test
    public void testMethod(){
        int method = method(4, 5);
        System.out.println(method);
    }
    @Before
    public void aaa(){
        System.out.println(111);
    }
    @After
    public void bbb(){
        System.out.println(222);
    }
    @BeforeClass
    public static void ccc(){
        System.out.println(999);
    }
    @AfterClass
    public static void ddd(){
        System.out.println(555);
    }


    public int method(int a, int b) {
        int c = a + b;
        return c;

    }
}
